<?php

namespace App\Http\Controllers\Commit;

use App\Repository\Commit\ConfigDataRepository;
use  App\Http\Controllers\Controller as BaseController;
use Illuminate\Http\Request;

/**
 * @OA\Tag(
 *     name="后台菜单模块",
 *     description="菜单模块",
 * )
 */
class ConfigDataController extends BaseController
{
  public function __construct(ConfigDataRepository $ConfigDataRepository)
  {
    $this->repoist = $ConfigDataRepository;
  }
  public function index(Request $Request,$type)
  {
    //字段的获取
    return $this->repoist->oneSel($type);
  }
}
